<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<title>平台通知</title>
	<style>
		#UserinfoDatatables{width:100%!important}
		.modal-lg {
			max-width: 100%;
			/*width: 85%;*/
			max-width: none;
		}
	</style>
</head>
<body>
	<div class="m-portlet">
		<div class="m-portlet__head">
			<div class="m-portlet__head-caption">
				<div class="m-portlet__head-title">
					<span class="m-portlet__head-icon m--hide">
					<i class="la la-gear"></i>
					</span>
					<h3 class="m-portlet__head-text">
						创建平台通知
					</h3>
				</div>
			</div>
		</div>
		<form class="m-form m-form--fit m-form--label-align-left m-form--group-seperator-dashed" id="defaultForm" method="post">
			<div class="m-portlet__body">
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">标&nbsp;&nbsp;&nbsp;&nbsp;题</label>
					<div class="col-lg-4">
					<input class="form-control" type="text" maxlength="120"  name="title" placeholder="请输入标题" data-bv-notempty data-bv-notempty-message="请输入标题" >
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">内&nbsp;&nbsp;&nbsp;&nbsp;容</label>
					<div class="col-lg-4">
						<textarea class="form-control" rows="4" maxlength="800"  name="content" placeholder="请输入内容"></textarea>
					</div>
				</div>
				<div class="form-group m-form__group row">
					<label class="col-lg-1 col-form-label">接收人</label>
					<div class="col-lg-4">
						<input class="form-control" type="hidden" maxlength="50"  id="create_id" name="create_id" placeholder="请选择">
						<div class="input-group">
							<input type="text" readonly class="form-control m-input" id='create_Text' placeholder="请选择发起人" aria-describedby="basic-addon2">
							<div class="input-group-append">
								<span style="cursor:pointer;" class="input-group-text" id="basic-addon2" onclick="resetUser();">
									<i class="fa fa-times"></i>
								</span>
							</div>
							<div class="input-group-append">
								<span  style='cursor:pointer;' class="input-group-text" onclick='UserSelect()'>
									<i class="flaticon-user-ok"></i>
								</span>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
				<div class="m-form__actions m-form__actions--solid">
					<div class="form-group m-form__group row">
						<div class="col m--align-left">
							<button type="button" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" onclick="addXtNotify()">保存</button>
							<button type="button" class="btn btn-secondary m-btn m-btn--custom m-btn--icon" onclick="goback()">返回</button>
						</div>
						<div class="col m--align-right">
							<a href="javascript:resetAll('defaultForm')" class="btn btn-secondary m-btn m-btn--custom m-btn--icon">
								<span><i class="fa fa-repeat"></i><span>重置</span></span>
							</a>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
	<!-- 用户选择器模态框（Modal）开始 -->
	<div class="modal fade" id="UserinfoSelectModal" tabindex="-1" role="dialog" aria-labelledby="UserinfoModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-lg" id="UserinfoModalDialog">
			<div class="modal-content">
				<div class="modal-header">
					<h4 class="modal-title" id="UserinfoModalLabel">
						员工列表
					</h4>
					<button type="button" class="close" data-dismiss="modal"  aria-hidden="true">&times;</button>
				</div>
				<div class="modal-body" id="UserinfoBody" style="overflow:auto;">
					<div class="panel panel-default">
						<div class="m-content">
							<div class="m-portlet">
								<div class="m-portlet__head">
									<div class="m-portlet__head-caption">
										<div class="m-portlet__head-title">
											<h3 class="m-portlet__head-text">
												<span class="m-accordion__item-icon"><i class="flaticon-search"></i>查询区域</span>
											</h3>
										</div>
									</div>
								</div>
							</div>
							<form method="POST" class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed" id="searchFormUserinfo" >
								<input type="hidden" class="form-control" name="xt_userinfo_id" id="xt_userinfo_idList" placeholder="请输入">
								<div class="form-group m-form__group row">
									<label class="col-form-label">隶属部门</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_departinfo_name" placeholder="请输入">
									</div>
									<label class="col-form-label">岗位</label>
									<div class="col-md-2">
										<input type="text" class="form-control" name="xt_post_name" placeholder="请输入">
									</div>
									<label class="col-form-label">姓名</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_realName" placeholder="请输入">
									</div>
									<label class="col-form-label">账号</label>
									<div class="col-md-1">
										<input type="text" class="form-control" name="xt_userinfo_name" placeholder="请输入">
									</div>
									<a href="javascript:search('UserinfoDatatables')" class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-search"></i><span>检索</span></span>
									</a>
									<a href="javascript:resetAll('searchFormUserinfo');" class="btn btn-light-success font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon">
										<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
									</a>
								</div>

								<div class="m-portlet__foot m-portlet__no-border m-portlet__foot--fit">
									<div class="m-form__actions m-form__actions--solid">
										<div class="form-group m-form__group row">
											<div class="col m--align-left">

											</div>
										</div>
									</div>
								</div>
							</form>
						</div>
					</div>
					<table id="UserinfoDatatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap;">
						<thead>
						<tr>
							<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkallUserinfo" /><span></span></label></th>
							<th>序号</th>
							<th>账号</th>
							<th>姓名</th>
							<th>电话</th>
							<th>籍贯</th>
							<th>生日</th>
							<th>电子邮件</th>
						</tr>
						</thead>
					</table>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-light-primary mr-3 m-btn m-btn--custom m-btn--icon" data-dismiss="modal">取 消</button>
					<button type="button" class="btn btn-light-success mr-2 m-btn m-btn--custom m-btn--icon" onclick="doSelectUser();">确 认</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal -->
	</div>
	<!-- 用户选择器模态框（Modal）结束 -->

<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/sys/xt-notify/xt-notify-add.js"></script>
</html>
